
public class Stdent1 {

	public static void main(String[] args) {
		Student boy1 = new Student();
		Student boy2 = new Student();
		Student boy3 = new Student();
		boy1.num = 1000;
		boy2.num = 1001;
		boy3.num = 1002;
		boy1.name = "张三";
		boy2.name = "李四";
		boy3.name = "王五";
		boy1.age = 18;
		boy2.age = 19;
		boy3.age = 20;
		boy1.record();
		boy2.record();
		boy3.record();
	}

}
